package test.spring.ioc.impl;

import test.spring.ioc.NewsListener;
import my.spring.ioc.annotation.Bean;

/**
 * @author fengbo
 * @date 2018/6/21
 */
@Bean("newsListenerImpl")
public class NewsListenerImpl implements NewsListener {

    @Override
    public String[] getAvailableNewsIds() {
        return new String[] {"1", "2"};
    }
}
